package com.example.admin.service;

import com.example.admin.Dto.LoginDto;
import com.example.admin.Vo.UserVo;
import com.example.admin.bean.User;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.Set;

public interface Userservice extends UserDetailsService {
    User findbyname(String name);

    UserVo login(LoginDto loginDto) throws Exception;

    Set<String> findroleLabelsbyid(Long id);

    Set<String> findresourceRequestPathsbyid(Long id);
}
